<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>

<body>
<form method="post">

<?php
// Consultar la base de datos
$link = mysql_connect("localhost", "root","root"); 
mysql_select_db("facruracion_e_inventario", $link); 
$result = mysql_query("SELECT login FROM usuario", $link); 
echo "Seleccione un producto";
echo "<select name='select1'>";
while($fila=mysql_fetch_array($result)){
    echo "<option value='".$fila['login']."'>".$fila['login']."</option>";
}
echo "</select>";

?> <br>
Precio actual <input type="text" name="prec"><br>
Precio nuevo <input type="text" name="nuev"><br>
&nbsp;<input type="submit" value="Aplicar"></form>
</body>

</html>
